package wk.asm.classLoader;

/**
 * Created by wangkuan at 2018-09-03 14:01
 */
public class MyClassLoader extends ClassLoader {

    public MyClassLoader() {
        super(Thread.currentThread().getContextClassLoader());
    }

    public Class<?> defineClassForName(String name, byte[] data) {
        return defineClass(name + "$EnhancedByASM", data, 0, data.length);
    }
}
